<template>
  <div class="not-found">
    <div class="not-found-content">
      <h1>404</h1>
      <p>抱歉，您访问的页面不存在。</p>
      <router-link to="/" class="home-link">返回首页</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: "404View"
}
</script>

<style scoped>
.not-found {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f2f5;
  font-family: 'Arial', sans-serif;
}

.not-found-content {
  text-align: center;
}

.not-found h1 {
  font-size: 10rem;
  margin: 0;
  color: #ff6f61;
}

.not-found p {
  font-size: 1.5rem;
  color: #333;
  margin: 1rem 0;
}

.home-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1.5rem;
  background-color: #ff6f61;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.home-link:hover {
  background-color: #ff4c3b;
}
</style>
